
<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="div-dept-patient" data-options="border:false">
	
	
			
		<div class="td-detail" style="padding:2px 0">
			<table cellpadding="0" cellspacing="0"> 
				<tr>				
					
					<div  class="doc-detail-list-btn">
						
						<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-add" plain="true">选择</a>
						<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-redo" plain="true">重置</a>
						<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-cancel" plain="true">取消</a>
						<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-search" plain="true">查询</a>
					</div>
					</td>
					<td style="padding-left:2px">
						<form class="condition-form">
						<table> 	
							<tr>
								<th>入院时间  起始</th>
								<td><input name="inhzospitalat_start" id="inhzospitalat_start" class="easyui-datebox easyui-validatebox" style="width:100px" data-options="required:true"/></td>
								<th>截止</th>
								<td><input name="inhzospitalat_end" id="inhzospitalat_end" class="easyui-datebox easyui-validatebox" style="width:100px" data-options="required:true"/></td>
								
								<th>住院号</th>
								<td><input id="patient_id" name="patient_id" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>		
								<th>医生姓名</th>
								<td><input id="doct_name" name="doct_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>					
							</tr>
							<tr>
								<th>出院时间  起始</th>
								<td><input name="outhospitalat_start" id="outhospitalat_start" class="easyui-datebox easyui-validatebox" style="width:100px" data-options="required:true"/></td>
								<th>截止</th>
								<td><input name="outhospitalat_end" id="outhospitalat_end" class="easyui-datebox easyui-validatebox" style="width:100px" data-options="required:true"/></td>
							</tr>				
						</table>
						</form>
					</td>
				</tr>
			</table>
		</div>
						 
			
		<table id="dg-detail" class="easyui-datagrid dg-detail" title="住院信息列表"
			data-options="rownumbers:true,
			animate: true,									
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',									
			fitColumns: true,
			checkOnSelect:true,
			pagination : true,
			selectOnCheck:true					
			">
			
			<thead>						
				<tr>
					<th field="ck" checkbox="true" ></th>					
					<th field="doct_depart_name" width="100" align="left" halign="center">科室名称</th>
					<th field="doct_name" width="100" align="left" halign="center">医生姓名</th>
					<th field="patient_id" width="100" align="left" halign="center">住院单号</th>
					<th field="patient_name" width="100" align="left" halign="center">患者姓名</th>
					<th field="inhzospitalat" width="100" align="left" halign="center">入院时间</th>												
				</tr>
			</thead>
			
		</table>	
	
</div>


<script>

requirejs(['deptPatientSelect','domReady!'],function(dept,doc){
	dept.init({doc:doc,rootId:'div-dept-patient'});	
});	

</script>
